f(x)=-x^3+3mx^2+nx+m^2在x=1时有极值0,求m、n的值