CP violation and mass hierarchy at medium baselines in the large θ 13 era