Gamma-ray resonance spectroscopic study of MoS2- and iron-based catalysts