Experimental and Theoretical Infrared Signatures of REMO3 (RE = La, Pr, Nd, Sm, and M = Co, Fe) Perovskites