Asymmetric diffraction from two-component optical gratings made of passive and lossy materials.