Programmable photonic crystal nanobeam cavities.