Cameron testifies to Lords committee after urging Hamas to accept ceasefire deal