Performance of ALICE detector and electronics under first beam conditions