Observation of lower to higher bandgap transition of one-dimensional defect modes.