Green synthesis of nanoparticles from biodegradable waste extracts and their applications: a critical review