Mercury-T: A new code to study tidally evolving multi-planet systems. Applications to Kepler-62