Sequential Principal-Agent Problems with Communication: Efficient Computation and Learning