The causes and costs of defects in construction