Apple ships 5.2M iPhones during quarter