Luke Varney scored twice as Leeds came from behind to claim a crucial 2-1 win over Sheffield Wednesday in the Championship at Elland Road.