Father accused of stabbing family appears in court