Characterization of Near-eye Displays based on Wavefront Measurements