Angular Distribution and Intensity in Molecular Photoelectron Spectroscopy I. General Theory for Diatomic Molecules