Ray-mode analysis of complex resonances of an open cavity (radar targets)