Tesla 2Q profit falls from 1Q, but is stronger than expected