Dechanneling, flux-peaking and energy losses of fast charged particles penetrating through thick crystals