Group Theoretical Methods and Applications to Molecules and Crystals