Photophysical properties of N-alkylnaphthalimides and analogs