Self-assembled nanoscale ferroelectrics