Magnetic moments of the hidden-charm pentaquark states