Consequences of analyticity and unitarity for partial-wave amplitudes