Particle formation using supercritical carbon dioxide