From phase‐based to displacement‐based gating: a software tool to facilitate respiration‐gated radiation treatment