Barcelona have terminated the contract of director of football Andoni Zubizarreta with immediate effect, while assistant sports director Carlos Puyol has left his role at the club.