In situ monitoring of photo-crosslinking reaction of water-soluble bifunctional macromers using magnetic levitation.