Epitaxial-strain-induced polar-to-nonpolar transitions in layered oxides.