what african country has shorelines on both the atlantic ocean and mediterranean sea?