Tsallis and Kaniadakis statistics from a point of view of the holographic equipartition law