Instabilities and sound speed of a Bose-Einstein condensate in the Kronig-Penney potential