Recovering the H II region size statistics from 21-cm tomography