Phase diagrams of a nanoparticle described by the transverse Ising model