Two British parliamentarians have said they are "astounded" to have been briefly detained and deported by Israel.