iPhone shipments rise 20% as rivals struggle with pricing pressure