Magnetic properties of Cu1+xMn2-xO4 and Ni1+xMn2-xO4 solid solutions