A survey of general orthogonal polynomials for weights on finite and infinite intervals