Stable geometries of the self-trapped exciton in alkali halide crystals