The kinetic and interaction energies of a trapped Bose gas: beyond the mean field