Spanish and Algerian gas firms agree to 'revise' prices