Freezing of droplets under mixed-phase cloud conditions