On the relationship between income, fertility rates and the state of democracy in society