Cold itself won't hurt your camera or film (aside from brittleness, and possibility of static streaks). Heat can definitely harm both. Film will be fogged by too high a temperature, and lubricants in cameras and lenses can move to places they shouldn't be, or partially evaporate.