Point spread function and coherent line response in optical systems with non-uniform transmission pupils: application to photolithography