Genetics of prion diseases