Police admit accepting bribes to spy on judge