Ravens edge 49ers in electric Super Bowl