Apple sells record number of new iPhones