Synthesis of Ni-containing nanoparticles in Langmuiur–Blodgett films