Information gain in quantum theory