A method to preserve activity of sensitive molecules during the entrapment process in photo-polymerized matrices