Strikes by marine workers at Royal Navy bases have been suspended following talks with the Ministry of Defence.