Sociodemographic, labour market marginalisation and medical characteristics as risk factors for reinfarction and mortality within 1 year after a first acute myocardial infarction: a register-based cohort study of a working age population in Sweden