Fueling the central engine of radio galaxies. I. The molecular/dusty disk of 4C 31.04