Electronic structure of a shallow acceptor confined in a GaAs/AlxGa1-xAs quantum well.