A drunken man who grabbed two women in Hartlepool town centre and tried to kiss them has been spared jail.