Default probability estimation under microstructure effects