Spanish and Algerian firms team up to study gas pipeline project