When was the King of Prussia died under whom Friedrich Wilhelm Ernst Freiherr von Gaudi served as a Lieutenant General?