An experimental and theoretical study on the structure and photoactivity of XFe2O4 (X = Mn, Fe, Ni, Co, and Zn) structures