Photocatalytic nanomaterials for degradation of organic pollutants and heavy metals