Group theory in solid state physics