Differential pathways from childhood maltreatment to self-harm and suicidal ideation