On the nearest singular matrix pencil