Breakup reactions of the halo nuclei Be-11 and B-8