Lattice effects in ferromagnetic La1 − xBaxMnO3 thin films