A data-driven lifetime prediction method for thermal stress fatigue failure of power MOSFETs