An emotional Sergio Ramos bid farewell to Real Madrid after 16 years at the club having failed to agree a new contract to stay at the Santiago Bernabeu.