Apple beats top and bottom line with strong iPhone numbers