San Francisco firefighters have rescued a woman who went over a cliff and was stuck on rocks above crashing waves