An environment-friendly route to synthesize pyramid-like g-C3N4 arrays for efficient degradation of rhodamine B under visible-light irradiation