Local structure and valence of impurity ions in oxides by TDPAC and Mössbauer emission spectroscopy