Phase resonances in obliquely illuminated compound gratings