An inversion formula for a Prandtl–Ishlinskii operator with time dependent thresholds☆