Determination of the location and order of the drying transition with a molecular-dynamics simulation