Shubnikov-de Haas effect in quasi-two-dimensional compounds