End effects and cross-dimensional interference in identification of time and length: Evidence for a common memory mechanism