how to prevent hair thinning in males