Solution of the multichannel Kondo problem