已知复数z=3+bi,且(1+3i).z为纯虚数,求复数z,