Trainable Fixed-Point Quantization for Deep Learning Acceleration on FPGAs