Persons being within the degrees of consanguinity within which marriages are declared by law to be incestuous and void, who intermarry with each other, or who being 14 years of age or older, commit fornication or adultery with each other, are punishable by imprisonment in the state prison.