A comparison of deposited energy in statistical and individual cascades generated in amorphous and polycrystalline materials