Anisotropic nanoparticles from polymer self-assembly and phase separation for biomedical applications