On reliable visualization algorithms for real algebraic curves and surfaces