Photocatalytic properties and luminescent sensing of a new 2D layer coordination polymer