Direct-write photonics : creating photonic circuitry on demand