The two-dimensional one-component plasma in a doubly periodic background: Exact results