Thermoeconomic analysis of integrated systems for electricity and hydrogen production