Nanoparticles-based ink formulations