Introduction of a boundary in topological field theories