Real-analytic modular forms for Gamma_0(N) and their L-series