Temporal development of hard and soft x‐ray emission from a gas‐puff Z pinch