Perseus project for example allows downloading such books, but the XML markup is visible and makes the text barely readable. Example here:
http://www.perseus.tufts.edu/hopper/...%3Asection%3D2
Now how to ignore or strip the text of it, and then possibly convert that xml to epub or mobi?