"the presiding officer must ensure that the agreement was entered into freely and voluntarily and that the plea is in conformity with the facts which rights have to be explained to the accused before the agreement is concluded"