CPM admits leaving UPA cost it Bengal