A dissipativity-based approach to output regulation of non-minimum-phase systems