Mathew Hayman has signed a two-year contract with Orica-GreenEDGE from next season after leaving Team Sky.