Libya, Turkey sign defence deals after maritime spat