Consumer prices in Spain are rising by the highest rate in almost 30 years, fueled by the soaring electricity costs on international markets.