Suspect in custody, another on loose after police officer shot