Solvent vapor-induced polarity and ferroelectricity switching.