Long-range potential energy curves for the X 1Σ+ and a 3Σ+ states of NaRb