Characteristics and single/multi-objective optimization of thermoelectric generator by comprehensively considering inner-connection-and-contact effects and side-surface heat loss