Photon-efficient computational imaging with a single-photon camera