Temperatures in Moscow have hovered near 40 C for more than a week , as parched residents battle choking smog and smoke from peat fires burning just outside the city .