Partially Coherent Quantitative Phase Retrieval with Applications to Extreme Ultraviolet Lithography