Preparation of 3-methyl-1,4-heptadiene, 3-ethyl-1,4-hexadiene, and methyl-1,4-hexadienes