Expansion of the generating-function approach for non-rigid X2Y-type molecules by means of the Borel-type summation