Thermal stability of mullite RMn2O5 (R  =  Bi, Y, Pr, Sm or Gd): combined density functional theory and experimental study