Police say officer shot and killed dog after being bitten