Apple reports record earnings, but misses on iPhone estimates