Court awards jail term to BJP MLA in Karnataka