What factors generally affect the occurrence of non-communicable diseases?​