49ers fall to Ravens in preseason opener