Epsilon-near-zero or mu-near-zero materials composed of dielectric photonic crystals