how to prevent hair loss in dogs