Lossless Compression of event data and optical flow images from event cameras