Encircled energy measurement for focusing lens based on scanning Hartmann test