First-principles insights into the optical and electronic characteristics of barium intercalated AB-stacked bilayer graphene