Bifunctional strontium-doped barium oxide nanorods as promising photocatalysts and electrodes for energy storage applications