Generating quantum energy bounds by the moment method: A linear-programming approach.