Photon number squeezing enhanced by two-photon process in excitonic systems