A general theory for the coupling between thickness and loading for wings and propellers