Shock metamorphism of the graphite quasimonocrystal