Effects of size and strain rate on the mechanical behaviors of rock specimens under uniaxial compression