NATO chief calls on all sides in Libya to end fighting