Tesla hits quarterly delivery record