Mechanism of superhydrophilic to superhydrophobic transition of femtosecond laser-induced periodic surface structures on titanium