Efficient and regioselective synthesis of 2-alkyl-2H-indazoles.