Interaction of photoexcited naphthalenes with trifluoroacetic acid