A police chief, a police lieutenant and a firefighter worked together to get the family to safety