A dissipative particle dynamics study of flow in periodically grooved nanochannels