Modal wavefront correctors based on nematic liquid crystals