Flexibility in human resources management: a real options analysis