Practical implementation of frailty models in Mendelian risk prediction