Rui Costa elected president of scandal-hit Benfica