Fokker-Planck analysis of optical near-field traps