Toll Brothers shows profit in second quarter