Holographic principle and the dominant energy condition for Kasner type metrics