An epidemiologic study of the relationship between various states of occlusion, associated psychosocial factors and the pathological conditions of dental caries and periodontal disease