A thermoresponsive electromechanical microchip for temperature control in biomedical smart implants