the main causes of hair loss and ways to detect and treat