Members of the Rail, Maritime and Transport union (RMT) are due to strike for two days in April, May and June in a dispute over hours.