Violation of general Bell inequalities by a pure bipartite quantum state