Modeling multiband X-ray light curves of the Crab pulsar with the annular and core gap models