Consistently wearing high-quality masks offers strong protection, a study in California suggests.