The two officers, who were both shot in the torso, are in stable condition