Study shows nearly a quarter of single-family homes in San Diego County were purchased by investors