Synthesis of high refractive index polymer with pendent selenium-containing maleimide and use as a redox sensor