A detailed comparison of Beijing and Shanghai covering attractions, food, culture, transportation, and budget to help you decide.