German Chancellor Angela Merkel says a new Greek government has to meet commitments made to international lenders.