Computational modeling of energetic materials under impact and shock compression