Global well-posedness of the three-dimensional viscous primitive equations of large scale ocean and atmosphere dynamics