Thermal bonding of polyimide to form sealed microchannels