Free-space micromachined optical switches with submillisecond switching time for large-scale optical crossconnects