Development of a research methodology and analysis of the stress state of a parting under the joint and downward mining of coal seams