Two goals in the final three minutes have given Leeds a 3-1 win at promotion rivals Sheffield United to extend their lead at the top of the Championship.