Investigations of domain switching and lattice strains in (Na,K)NbO3-based lead-free ceramics across orthorhombic-tetragonal phase boundary