Man gets jail and caning for molesting 7-year-old girl in clinic