how to prevent hair loss of dogs