Descriptions of the neutral gas outflow in comets P/Halley and Wilson (1987 VII) from analyses of velocity-resolved H2O line profiles