Quasi-phase-matched laser wakefield acceleration of electrons in an axially density-modulated plasma channel