Through mechanisms of accountability and civic participation, democracy delivers long-term improvements in social development