Police officer shot dead after pointing stun gun at man’s dogs