Compact fixed bed reactor for catalytic reactions with integral heat exchange