Crystallographic transitions related to high-pressure magnetic and electronic phenomena in Fe-based compounds