Application of density functional theory to infrared absorption intensity calculations on main group molecules