Embedding Ba Monolayers and Bilayers in Boron Carbide Nanowires