Effects of quench rates on the short- and medium-range orders of amorphous silicon carbide: A molecular-dynamics study