Long jail term for man who rammed two police cars