Determination of the critical angular momentum for heavy-ion fusion using the proximity potential