Electronic, optical, magnetic and thermoelectric properties of CsNiO$$_{\mathrm {\mathbf {2}}}$$ and CsCuO$$_{\mathrm {2}}$$: Insights from DFT-based computer simulation