Synthesis, structure–fluorescence relationships and density functional theory studies of novel naphthalimide–piperazine–pyridine-based polystyrene sensors for Hg(ii) detection