Mean-field theory, mode-coupling theory, and the onset temperature in supercooled liquids.