Officer, suspect hurt in shooting at the end of police chase