Excited states of shallow acceptors in InP