can you get a phd without a masters thesis