Anticrossing and coupling of light-hole and heavy-hole states in (001) GaAs/AlxGa1-xAs heterostructures