Rough sleeping across Scotland is at a 14-year high while more than 17,000 households are registered as homeless.