Applications of fidelity measures to complex quantum systems