Ramanujan's Extensions of the Gamma and Beta Functions