Structural changes of wurtzite-type and zincblende-type boron nitrides by shock treatments