Polarization-dependent two-photon absorption of π-conjugated molecules