Harrogate sex offender who approached lone women avoids jail