Rank two vector bundles with canonical determinant