Are nearsightedness and farsightedness hereditary?