High-precision epsilon-expansions of three-loop master integrals contributing to the electron g-2 in QED