The Stark effect in the Bohr-Sommerfeld theory and in Schrödinger's wave mechanics