Liverpool have confirmed the signing of striker Iago Aspas from Celta Vigo on a long-term contract for an undisclosed fee.