The single Cooper-pair box as a charge qubit