Optical properties of circular Bragg gratings in labyrinth geometry