Density functional theory study of BnC (n = 1-7) clusters