Photocured polymers in ion-selective electrode membranes