Tesla's 'historic' quarter included gains in storage, solar