Modeling the CCD Undersampling Effect in the BATC Photometric System