Man commits suicide after slitting wrist of daughter