On the dynamics of the rigid body with a fixed point: Periodic orbits and integrability