Integrated Task Assignment and Path Planning for Capacitated Multi-Agent Pickup and Delivery