Deformation characteristics of bedded sandstone in uniaxial compression