Cardiff have announced that they have completed the signing of Spanish defender Juan Torres Ruiz Cala on a two-and-a-half year contract.