Basis for enhanced barrier function of pigmented skin