Hastings joins NRL Tigers on two-year deal