Limiting Factors on Image Quality in Imaging through Turbid Media under Single-photon and Two-photon Excitation