Extensive tailoring of REPO4 and REVO4 crystallites via solution processing and luminescence