The photonic density of states and the light energy density in cholesteric liquid crystal cells