US stocks rise as Greece, China fears abate