Reproducing kernel method to solve parabolic partial differential equations with nonlocal conditions