In situ hard X-ray transmission microscopy for material science