Line defects on photonic crystals for the design of all-optical power splitters and digital logic gates. (October 2017)