Machine learning algorithms to classify self-harm behaviours in New South Wales Ambulance electronic medical records: a retrospective study