why dogs love their masters