Normal coordinate treatment and Raman intensity analysis of crystals and infrared intensity analysis of molecules