Officer, bystander shot in shootout