Critical behavior in the perovskite-like system Y(Ni,Mn)O 3