Neoclassical transport in toroidal plasmas with nonaxisymmetric flux surfaces