Rank-one perturbations of matrix pencils