Surface waves in three-dimensional electromagnetic composites and their effect on homogenization.