Ferroelectricity in free standing perovskite-based nanodots: A density functional theory study