Adaptive wavefront sensor based on the Talbot phenomenon.