As heatwaves persist, dermatologists explain how to keep pigmentation at bay.