Biodegradable polymers from organic wastes through anaerobic/aerobic processes