Resonances of uniaxially anisotropic photonic nanoresonators