Magnetic and structure phase transitions investigated by standing magnetoelastic waves