A study of laser-generated strain fields with X-ray microdiffraction