A new flexible geothermal based cogeneration system producing power and refrigeration