Applications of geometric methods to quantum control