£194m railway stations upgrade revealed by Transport for Wales