Design and fabrication of reconfigurable laser-written waveguide circuits