Co-Design Optimization of a Combined Heat and Power Hybrid Energy System