Computerized quantification of bone tissue and marrow in stained microscopic images