Tesla posts 3rd straight quarterly profit as EV credit income jumps