Linear optical response in silicon and germanium including self-energy effects | Synapse