Fundamental measure theory for mixtures of parallel hard cubes. II. Phase behavior of the one-component fluid and of the binary mixture