The complex-mass scheme for perturbative calculations with unstable particles