Greece to accept six-month loan extension agreement