Moore-penrose inverse of the incidence matrix of a tree