Cu doped graphitic C3N4 for p-nitrophenol reduction and sensing applications