Bundesliga club Schalke have completed the signing of Brazil international Michel Bastos from French side Lyon.