The Künneth formula for the twisted de Rham and Higgs cohomologies