A pyrene-based electropolymerized film as a solid-state platform for multi-bit memory storage and fluorescence sensing of nitroaromatics in aqueous solutions