Analytic evaluation of infrared intensities and polarizabilities by two-configuration self-consistent field wave functions