How did Frederick William III of Prussia die?