High-frequency dielectric and magnetic anomaly at the phase transition in NaV2O5