Hubble Space Telescope observations of the dwarf Nova Z Chamaeleontis through two eruption cycles