Time-dependent density-functional calculation of the stopping power for protons and antiprotons in metals