Room temperature charge-ordered phase in Gd0.6Ca0.4MnO3 and Sm0.6Ca0.4MnO3 thin films