Multiscale simulation of rapid solidification of an aluminium–silicon alloy under additive manufacturing conditions