Stability conditions on product varieties