Simulation of lattice-strain-driven bcc→fcc phase transitions in Pd thin films