Polymer nanodisks by collapse of nanocapsules