Liverpool agree deal for Ings