Vacuum-UV spectroscopy of interstellar ice analogs - I. Absorption cross-sections of polar-ice molecules