Firefighter rescues dog that fell through ice