Europe’s main stock markets have risen as investors followed developments over Greece, the United States and China.