Bistability of nematic liquid crystals confined in 3D scaffold produced by two-photon polymerization