James Harden scores 49 points, Rockets outlast Mavs in OT