Who was the king of Spain during Ferdinand III's second year as Holy Roman Emperor?