Physics-aware Simulation for Object Detection and Pose Estimation