Helix–coil dynamics of a Z‐helix hairpin