Direct imaging and spectroscopy of exoplanets with the ELT/HARMONI high-contrast module