Linear optical properties in the projector-augmented wave methodology