Officer crashes car as detained man attempts escape