The legality of humanitarian intervention in international law with reference to responsibility to protect