Stocks decline amid Greece talks, weak dollar