Optical detection and recovery of Yb(III) from waste sample using novel sensor ensemble nanomaterials