Accelerating the evaluation of inspiral–merger–ringdown waveforms with adapted grids