Text this: A statistical physics approach to understanding the adsorption of methylene blue onto cobalt oxide nanoparticles