Relationships between the zeroth-order kinetic and exchange-energy functionals and the average electron density