Food quality as a public good: cooperation dynamics and economic development in a rural community