What are latent defects and patent defects?