Correlation between Mn and Ru valence states and magnetic phases in SrMn 1 − x Ru x O 3