The algebraic and geometric classification of associative algebras of dimension five