Binary capture of small bodies by three-body interactions and impact on to compact objects