Ravens top 49ers in preseason Har-bowl