lifestyle factors contributing to hair loss