Norway signs submarine agreement with Germany