Study of Be-10 and C-16 cluster structure by means of breakup reactions