Effect of egassing on the formation of polycrystals from diamond nanopowders produced by detonation and static syntheses