Adaptive mesh simulations of polycrystalline materials using a Cartesian representation of an amplitude expansion of the phase-field-crystal model