Rare earth dihydride formation by reaction of rare-earth metal thin films with water vapour