Semiconductor Quantum Dots and Metal Nanoparticles – Synthesis Methods, Optical Properties, and Selected Applications