Stocks close down despite oil gain as Greece eyed