Spectral evolution of microwaves and hard X-rays in the 1989 March 18 flare and its interpretation