Dielectric resonator nanoantenna at optical frequencies