Phase-field models for thin elastic structures: Willmore's energy and topological constraints