Magnetocaloric effect and magnetoelastic properties of NiMnGa and NiMnSn Heusler alloy thin films