Car flips on roof after swerving to avoid deer on A1 in Harrogate district