Novel methods for preparation of ion-exchangeable thin films