Distance estimation method for molecular cloud clumps in the Milky Way