Photolithographically patternable modified poly(HEMA) hydrogel membrane