Magnetic oscillations of in-plane conductivity in quasi-two-dimensional metals