Hoy, Trott earn gold for Great Britain on track cycling's final day