Effects of test-mask similarity on forward and backward masking of patterns by patterns