Councillors have voted to consult Bournemouth and Poole residents on proposals to set up new town and parish councils.