Two taken to hospital after fires