Flow of viscoelastic fluids past a flat plate