The statistical physics of cities