Scheme for generating GHZ-type and W-type entangled squeezed vacuum states in free-travelling optical fields