On Direct Products of Theories