Energy levels of 36Ar and 38Ar from alpha capture in sulphur and proton capture in chlorine