Estimating resist parameters in optical lithography using the extended Nijboer-Zernike theory