Residually finite-dimensional operator algebras