The thermal behavior of tantalum carbide cathodes in pseudospark switches