A combinatorial characterization of 4-dimensional handlebodies