Long-period surface waves and mantle boundary undulations