A factor model for co-movements of commodity prices