Joint 3D Estimation of Objects and Scene Layout