A new Zn(II) metal–organic framework having 3D CdSO4 topology as luminescent sensor and photocatalyst for degradation of organic dyes