Why was Wilhelm II determined to build up the German army and navy?