Two dacoits killed in alleged police encounters