A group of lawyers and MPs has warned the Prime Minister, as well as the leader of the opposition, that they may be liable for aiding "war crimes" in Gaza.