Ghost condensates in Yang-Mills theories in nonlinear gauges