Costain to pursue National Grid for up to £49m over gas plant contract