Group theory in band structure calculations of polymers