Stanford to help edX build non-profit open-source platform