Buses will replace trains between Port Talbot Parkway and Swansea for 12 days from the end of January as Network Rail carries out essential upgrades to the railway.