Bayer Leverkusen have completed the signing of Andres Guardado on loan until the end of the season from Valencia.