Plans for a children's home in Peterlee have been refused by the council over concerns about its impact on the neighbourhood.