Optical trapping calculations for metal nanoparticles. Comparison with experimental data for Au and Ag spheres