United States stocks end flat to open heavy earnings week