Magnetic evidence of different environments of manganese ions in Mn-substituted strontium titanate