Unusual ferroelectric-dependent birefringence in 2D trilayered perovskite-type ferroelectric exploited by dimensional tailoring