Former Volkswagen union boss Klaus Volkert has been jailed for nearly three years for his part in a sex and corruption scandal that rocked VW and corporate Germany.