Liftings of Nichols algebras of diagonal type II: all liftings are cocycle deformations