Thermal energy harvesting using shape memory/piezoelectric composites