Text this: A comparative DFT study to investigate structural, electronic, and optical properties and bandgap engineering of 2D XSn4O7(X=Ba, Ca) and XSi4O9(X=Ba, Ca) materials for photocatalytic and solar cell applications