Brain tumors biomedical sensor with high-quality factor and ultra-compact size based on nanocavity 2D photonic crystal