Synthesis and characterization of semiconductor nanomaterials for photocatalytic and phosphor applications