Semiclassical analysis of 1/f noise in Josephson Qubits