Compact coupled optical resonators and their applications