Mariano Rajoy forced out of office after no-confidence vote, paving the way for Socialist Pedro Sanchez to take reins.