Systems of two subspases in a Hilbert space