how to prevent hair thinning female