Silicon photonic components using sub-wavelength gratings and other periodic structures