Inference for single and multiple change‐points in time series