Studies of bonding and valence states in YBa2Cu3O7−xthrough secondary‐ion‐mass spectrometry