Effect of nanoparticles’ diameter and concentration on the optical pulse formation in nanosuspensions