Shifted Laplace preconditioners for the Helmholtz equations