How is hypertrophic cardiomyopathy inherited?