Garbine Muguruza has said she was always confident of beating Serena Williams to lift her first French Open title because she had prepared for the moment.