The similarity in nature of X- and primary γ-rays