Bogus nurse stole medical details from Fife hospital