Comparative photophysics of indolizine and related heterocyclics