Egypt army ‘restoring democracy’, says John Kerry