Laser energy transformation to shock waves in multi-layer flyers