Investment is part of a €1.5bn investment with Canadian pension fund for a 20% stake in Spain's largest gas distribution network