Effect of laser pulse duration on properties of metal and metal carbide nanoparticles obtained by laser in liquid synthesis