Anomalous transmission of x-rays in quasicrystals