Magneto-optical effects of excitons in (C10H21NH3)2PbI4 under high magnetic fields up to 40 T