Ultrafast electron diffraction and imaging using ionized electrons