Object-Centric Task and Motion Planning in Dynamic Environments