Dog fatally shot by police officer