Ultrafast electron diffraction using an ultracold source