Charmonium at finite temperature