Impact of generalized Fourier’s law and Fick’s law for MHD flow of Ag‒H2O and TiO2‒H2O nanomaterials