Toll Brothers posts third-quarter loss