Shock wave structure in a diatomic gas based on a kinetic model