Effect of Ion Exchange on Photoluminescence of Layered Niobates K4Nb6O17 and KNb3O8.