On varieties whose universal cover is a product of curves