Controlled diffeomorphic extension of homeomorphisms