Crystal graphs andq-analogues of weight multiplicities for the root systemAn