Liquid-to-gas phase transitions in two-dimensional quantum systems at zero temperature