KB Home revenue off 27% in second quarter