Human-centred mechanism design with Democratic AI