Man sentenced for lewdness with children