Two-generated commutative matrix subalgebras