The genetics of prion diseases