Quantized matrix completion through bilinear factorization and approximate message passing