Effect of confined geometry on the size distribution of nanoparticles produced by laser ablation in liquid medium