Stocks march on as investors pin hopes on a Greek deal