Mechanical relaxation in simple molecular liquids from the liquid to the supercooled state