Helicity transport and generation in the solar convection zone