Luminescence characteristics and room temperature phosphorescence of naphthoic acids in polymers