Photopolymerization of coordinated and non-coordinated ionic liquid monomers