Apple doubles profits thanks to iPhone sales