Amorphous Si waveguides with high-quality stacked gratings for multi-layer Si optical circuits