The subdivision of the hexagonal net and the systematic generation of crystal structures