Secondary electron emission from diamond: physical modeling and application to scanning electron microscopy