Development of membrane-based calorimeters to measure phase transitions at the nanoscale