Kansas man gets life in prison for child sex crime