A simple approach to reduce peak temperatures in integrated and discrete power mosfets