Self-assembly of drug-polymer complexes: a spontaneous nanoencapsulation process monitored by atomic force microscopy