Structure and soft mode behavior of two chalcogenide crystals