Effect of temperature on the structure of manganites