Phase-space theory of drift wave–zonal flow interactions and the Dimits shift