Local field effects and electric and magnetic dipole transitions in dielectrics.