Monte Carlo investigation of magnetic–dielectric analogies in hexagonal mixed-spin core–shell nanostructures