Technique for the preparation of solid specimens for x‐ray absorption studies