The structure of the Geminid meteor stream – II. The combined action of the cometary ejection process and gravitational perturbations