Surface effects in barium hexaferrite nanoparticles