Ab initio potential energy curves and vibrational levels for the c, l, and i states of the hydrogen molecule