Tesla delivers quarterly record of 25,000 vehicles