Facile synthesis of a photoresponsive AIEgen used for monitoring UV light and photo-patterning