Asymmetric resonant cavities and their applications in optics and photonics: a review