Pathways to suicide attempts among male offenders: the role of agency