Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas