Beijing is the best choice. Because Beijing dialect is almost mandarin. There is not so far from Beijing to Tianjin, you could get there by train only half an hour. Actually I think the coastal cities which close to Beijing are not as good as you image. The sea water is not very clean.
And if you want to choose a place which you have listed above, i advise you don't choose Shanghai and Tianjin. I think よしや had said so clear.