Ferdinand: Barcelona and Real Madrid wanted me