Design of macroporous photo-cationically cured resorcinol-based epoxy resins coupled to a solid template technique