Experimental and theoretical study of photoluminescence and magnetic properties of metal–organic polymers based on squarate and tetrazolate moieties containing linkers. (23rd October 2015)