Barcelona welcome Xavi with three-goal collapse, Real Madrid edge out Rayo