Doubly patternable epoxy based sol-gel structures by UV and soft lithography