de Haas–van Alphen effect in two- and quasi-two-dimensional metals and superconductors