how to wash hair to prevent hair loss