Study on the Rock Size Effect of Quasistatic and Dynamic Compression Characteristics