Photon-limited imaging through scattering medium based on speckle coding