Beazer Homes posts 3 cent Q2 loss, surprising analysts