A man accused of raping a 15-year-old girl and sexually assaulting her friend near Bournemouth beach has been found not guilty.