Horizon-absorption effects in coalescing black-hole binaries: An effective-one-body study of the nonspinning case