Effect of operating parameters on photocatalytic degradation of dyes by using graphitic carbon nitride