Waugh warns Smith of losing captaincy