Jonathan Tiernan-Locke has been given a backdated two-year ban and had his contract with Team Sky terminated over discrepancies in his biological passport.