how to prevent hair loss caused by stress