Crystalline Galois representations in families and their applications