Course of cognition in mentally ill offenders and the implications for risk of violence: a 10-12-year follow-up study