On the Origin of Mendelian Genetics1