Process for producing 1,4-butanediol and tetrahydrofuran by hydrogenating dialkyl maleate in mixed phase