Radio observations of comet 9P/Tempel 1 before and after Deep Impact