Synthesis of nickel nanoparticles by chemical and green route and their comparison in respect to biological effect and toxicity