Connecting bulk symmetry and orbital polarization in strained RNiO 3 ultrathin films