The free energy of N = 4 super-Yang-Mills and the AdS/CFT correspondence