what was the contribution of Gregor Mendel in the field of genetics?