Instituto INSTITUTO DE CIENCIA DE MATERIALES DE MADRID HEAT ENGINE AND METHOD FOR HARVESTING THERMAL ENERGY