Computational imaging with diffractive optics