Spatial optical solitons in fifth order and seventh order weakly nonlocal nonlinear media