A quantum chemical and photophysical study of acridine-9-N-methacrylamide