An extra £30 million in emergency funding is to be given to councils in England to help keep people at risk of eviction in their homes and support rough sleepers off the streets.