Modelling of concrete as multiphase porous material, with application to fires