Enhanced thermoelectric performance and mechanical strength in GeTe enable power generation and cooling