Analysis on the extinction properties of nanofluids for direct solar absorption