Black hole greybody factors and absorption of scalars by effective strings