Embedded cobordisms, motion groupoids and topological quantum field theories