On the matrix element for two-photon absorption