Norway and Germany have officially marked the start of a long-term agreement for cooperation on submarine and naval missiles programs.