Multiscale study of ferroelectric–relaxor crossover in BaSnxTi1−xO3 ceramics