Optimal design of low-temperature heat-pumping technologies and implications to the whole energy system