Scattering of ultrasonic waves by internal anomalies in plates