Original Articles: A parareal algorithm based on waveform relaxation