Interaction of an electron bunch with a laser pulse in vacuum