Impact of windward and effective slope on the roughness effect of ratchet-type surfaces in turbulent channel flow