Moment problems and real algebraic geometry 1