Vascular anastomosis using controlled phase transitions in poloxamer gels