Semi-inverse solution for transient MHD flow of a second grade fluid past a stretching surface