f-State luminescence of trivalent lanthanide and actinide ions in solution