On the origin of cosmic rays: Some problems in high-energy astrophysics