Energy losses of B clusters transmitted through carbon foils