Telegraph and 1/f noise in Josephson qubits: decoherence and quantum control