Curved thin domains and parabolic equations