Cooper-pair resonances and subgap Coulomb blockade in a superconducting single-electron transistor