Application of secondary neutral mass spectrometry in the investigation of doped perovskites