Adalbert Perrot, Die Garnisonskirche in Potsdam