Analysis of quantum superconducting kinetic inductance photodetectors