A road was closed in Bournemouth after a crash involving two vehicles, with one of them colliding with a lamppost.