Bogoliubov sound speed in periodically modulated Bose-Einstein condensates