Relation of waste generation and composition to socio-economic factors: a case study