Instacart sees upbeat core profit on higher transaction, ad fees