Synthesis of N-ferrocenylalkylated pyrazole derivatives