The cost of borrowing across Europe spiked as German inflation data and French elections weighed on investors.