Electron ptychography using an ultrafast direct electron detector