The complex-mass scheme and unitarity in perturbative quantum field theory