Amorphous silicon and silicon nitride channel optical waveguides