Measurement of the W ---> l ν and Z/γ* ---> l+ l- production cross sections in proton-proton collisions at sqrt(s) = 7 TeV with the ATLAS detector