A three-dimensional boundary-element approach to gas-assisted injection molding