Differences in mechanical properties between pyrite and coal-bearing pyrite: experiments and DFT calculation