Calculation of the critical detonation diameter of explosive charges using data on their shock-wave initiation