Gravar-mail: Phase diagram for the transition from photonic crystals to dielectric metamaterials