Real-space imaging of ferroelectric and structural antiphase domains in hexagonal YMnO3