Spectral asymptotics for quasi-elliptic partial differential equations