Single-machine scheduling with machine unavailability periods and resource dependent processing times