Apple bucks the trend as global smartphone shipments fall 6%, Samsung drops 13.4%