Thermal performance of crossflow heat exchanger with nonuniform inlet temperatures