Serena Williams admits she was "shocked" when she heard fellow American Andre Agassi had taken drugs while on the ATP tour.