Atmospheric dynamics in carbon-rich Miras : I. Model atmospheres and synthetic line profiles