Constraints on the richness–mass relation and the optical-SZE positional offset distribution for SZE-selected clusters