The influence of the shock compression conditions on the graphite transformations into lonsdaleite and diamond