Rafinha to join Bayern Munich