Spectral multipliers on Damek--Ricci spaces