Row-by-row decoupling with stability for linear periodic discrete-time systems