Impact of capillary hysteresis and trapping on vertically integrated models for CO2 storage