The measurement of Fe II and Fe III lifetimes by beam-foil spectroscopy in the vacuum ultraviolet