Optical potential method with capture channel in positron-atom scattering