The variation method in quantum chemistry