Barcelona took control of their Women's Champions League quarter-final with an impressive, dominant away first-leg victory at Spanish rivals Real Madrid.