ENERGY-CALIBRATION OF THE ATLAS HADRONIC AND ELECTROMAGNETIC LIQUID-ARGON ENDCAP CALORIMETERS