Microbial community changes in methanogenic granules during the transition from mesophilic to thermophilic conditions