Railways to invite bids for manufacturing modern coaches