Relation between image charge and potential alignment corrections for charged defects in periodic boundary conditions | Synapse