Optical properties of semiconductors using projector-augmented waves