H II regions in NGC 628. III - H-alpha luminosities and the luminosity function