Polyhedral surfaces and the Weil–Petersson form