Aberration correction in digital holography