Demi Lovato opens up about battle with drugs, alcohol, eating disorder and self-harm