The Covariant entropy bound, brane cosmology, and the null energy condition