Tesla reports Q2 results with double-digit declines in revenue, net income