Quantum and classical effects at scattering of high energy charged particles in thin crystals