Photocurable oligo(hemiacetal ester)s having methacrylate side chains