Stanford's McCaffrey voted AP Player of the Year