Pontryagin duality for topological modules